import request from '@/utils/request'

// 查询资源项目列表
export function listResource(query) {
  return request({
    url: '/wms/resource/list',
    method: 'get',
    params: query
  })
}

// 获取文件详情
export function getFileList(data) {
  return request({
    url: '/wms/resource/getFileList',
    method: 'post',
    data: data
  })
}
